/* eslint-disable object-curly-spacing */

const records = [{ id: 3, name: 'admin' }, { id: 13, name: 'user1' }]

const Model = {
  extend: BaseClass => {
    //
    class ModelClass extends BaseClass {
      _records = records

      change_password(oldPsw, newPsw) {
        return true
      }
    }
    return ModelClass
  }
}

export default Model
